package com.woniuxy.mapper;

import com.woniuxy.entity.JsCollection;
import com.woniuxy.entity.JsCollectionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;


/*
@author Jan
@create 2020-05-26 11:02

*/ 
   
public interface JsCollectionMapper {
    long countByExample(JsCollectionExample example);

    int deleteByExample(JsCollectionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(JsCollection record);

    int insertSelective(JsCollection record);

    List<JsCollection> selectByExample(JsCollectionExample example);

    JsCollection selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") JsCollection record, @Param("example") JsCollectionExample example);

    int updateByExample(@Param("record") JsCollection record, @Param("example") JsCollectionExample example);

    int updateByPrimaryKeySelective(JsCollection record);

    int updateByPrimaryKey(JsCollection record);

    //查询该用户所有收藏 含商品具体信息 联表
    List<JsCollection> selectAllCollection(int userId);
}